package com.lulu.project.service.impl;

import com.lulu.common.model.entity.UserInterfaceInfo;
import com.lulu.common.service.InnerUserInterfaceInfoService;
import com.lulu.project.service.UserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @author wlc
 * @version 1.0
 */
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {

    @Resource
    private UserInterfaceInfoService UIService;

    @Override
    public boolean invokeCount(Long userId, Long interfaceInfoId) {
        return UIService.invokeCount(userId,interfaceInfoId);
    }

    public UserInterfaceInfo getUserInterfaceInfo(Long userId, Long interfaceInfoId){
        return UIService.getUserInterfaceInfo(userId,interfaceInfoId);
    }
}
